﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SMSmarketing.aspx.cs" Inherits="Admin_SMSmarketing"
    ValidateRequest="false" %>

<%@ Register Src="~/Admin/Banner.ascx" TagName="TogoBanner" TagPrefix="uc1" %>
<%@ Register Src="~/Admin/Foot.ascx" TagName="Foot" TagPrefix="uc2" %>
<%@ Register Src="~/Admin/Adleft.ascx" TagName="left" TagPrefix="uc3" %>
<%@ Register TagPrefix="epc" Namespace="Hangjing.Control" Assembly="Hangjing.Control" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>短信营销-<%= WebUtility.GetMyName()%></title>
    <link href="../css/reset.css" rel="stylesheet" type="text/css" />
    <link href="../css/menu.css" rel="stylesheet" type="text/css" />
    <link href="../css/boxes.css" rel="stylesheet" type="text/css" />
    <link href="../css/Validator.css" rel="stylesheet" type="text/css" />
    <link href="../css/divDialog.css" rel="stylesheet" type="text/css" />
    <link href="../css/Common.css" rel="stylesheet" type="text/css" />
    <link href="../css/building.css" rel="stylesheet" type="text/css" />
    <link href="../css/time.css" rel="stylesheet" type="text/css" />
    <!--[if IE]>
    <link rel="stylesheet" type="text/css" href="../css/iestyles.css" media="all" />
    <![endif]-->
    <!--[if lt IE 7]>
    <link rel="stylesheet" type="text/css" href="../css/below_ie7.css" media="all" />
    <![endif]-->
    <!--[if IE 7]>
    <link rel="stylesheet" type="text/css" href="../css/ie7.css" media="all" />
    <![endif]-->

    <script type="text/javascript" src="../javascript/DatePicker/WdatePicker.js"></script>

    <script src="../javascript/jquery-1.3.2.js" type="text/javascript"></script>

    <script src="../javascript/Common.js" type="text/javascript"></script>

    <script src="../javascript/ShowDivDialog.js" type="text/javascript"></script>



    <style type="text/css">
        .form-list td.label {
            width: 110px;
        }
    </style>
    <style type="text/css">
        .tooltip {
            text-align: center;
            opacity: .70;
            -moz-opacity: .70;
            filter: Alpha(opacity=70);
            white-space: nowrap;
            margin: 0;
            padding: 2px 0.5ex;
            border: 1px solid #000;
            font-weight: bold;
            font-size: 9pt;
            font-family: Verdana;
            background-color: #fff;
        }

        #cbopentime label {
            float: left;
            margin-left: 5px;
        }

        #cbopentime input {
            float: left;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <epc:Hint ID="Hint1" runat="server" HintImageUrl="../images/Control" />
        <div class="wrapper">
            <!--banner start-->
            <uc1:TogoBanner runat="server" ID="Banner" />
            <!--banner end-->
            <!--center start-->
            <div class="middle" id="anchor-content">
                <div id="page:main-container">
                    <div class="columns ">
                        <div class="side-col" id="page:left">
                            <uc3:left runat="server" ID="left" />
                        </div>
                        <div class="main-col" id="content">
                            <asp:ScriptManager ID="ScriptManager1" runat="server">
                            </asp:ScriptManager>
                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                <ContentTemplate>

                                    <div class="main-col-inner">
                                        <div id="divMessages">
                                        </div>



                                        <div style="visibility: visible;" class="content-header">
                                            <h3 class="icon-head head-customer">
                                                <label runat="server" id="pageType">
                                                    短信营销
                                                </label>
                                            </h3>
                                            <div style="width: 0px; height: 17px;" class="content-buttons-placeholder">
                                                <p style="" class="content-buttons form-buttons">
                                                </p>
                                            </div>
                                        </div>
                                        <!--start-->
                                        <div id="order-addresses">
                                            <div class="box-left">
                                                <div class="entry-edit">
                                                    <div class="entry-edit-head">
                                                        <h4 class="icon-head head-billing-address">筛选用户</h4>
                                                    </div>
                                                    <fieldset class="np">
                                                        <div class="order-address" id="order-billing_address_fields">
                                                            <div class="content">
                                                                <div class="hor-scroll">
                                                                    <table class="form-list" cellspacing="0">
                                                                        <tbody>


                                                                            <tr>

                                                                                <td class="value" colspan="2">
                                                                                    <div class="notice">提示：必须在大于100个电话才可以发送，营销短信会有30分至2小时的延迟。</div>
                                                                                </td>
                                                                            </tr>



                                                                            <tr>
                                                                                <td class="left_td">
                                                                                    <label for="_accountwebsite_id">
                                                                                        下单时间：<span class="required">*</span></label>

                                                                                </td>
                                                                                <td class="value">
                                                                                    <asp:TextBox runat="server" CssClass="inputclass" ID="tbStartTime" onfocus="WdatePicker({readOnly:true})"
                                                                                        Width="75"></asp:TextBox>
                                                                                    ~
                                                                                    <asp:TextBox runat="server" ID="tbEndTime" CssClass="inputclass" onfocus="WdatePicker({readOnly:true})"
                                                                                        Width="75"></asp:TextBox>

                                                                                    <asp:DropDownList ID="DDLArea" runat="server" Width="100" AppendDataBoundItems="true"
                                                                                        class="j_select">
                                                                                        <asp:ListItem Value="0">所有城市</asp:ListItem>
                                                                                    </asp:DropDownList>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td class="left_td">
                                                                                    <label for="_accountprefix">
                                                                                        商家名称：<span class="required">*</span></label>
                                                                                </td>
                                                                                <td class="value">
                                                                                    <asp:TextBox runat="server" ID="tbTogoName" CssClass="j_text" Width="200" />
                                                                                </td>
                                                                            </tr>

                                                                            <tr>
                                                                                <td class="left_td">
                                                                                    <label for="_accountprefix"></label>
                                                                                </td>
                                                                                <td class="value">


                                                                                    <asp:Button ID="tbsearch" runat="server" CssClass="button_1" Text="搜索" OnClick="search_Click1"
                                                                                        OnClientClick="showload_super();"></asp:Button>



                                                                                </td>
                                                                            </tr>


                                                                            <tr>
                                                                                <td class="left_td">用户手机号
                                                                                </td>
                                                                                <td class="value">
                                                                                    <div style="display: none; color: red; line-height:30px;" class="notice" runat="server" id="msgtip">提示：手机号低于100，发送短信会失败</div>

                                                                                    <div style=" line-height:30px; color: blue;" class="notice" runat="server" id="phonecount"></div>

                                                                                    <asp:TextBox runat="server" ID="tbphones" TextMode="MultiLine" CssClass="j_text" Width="300" Height="400" />




                                                                                </td>
                                                                            </tr>

                                                                        </tbody>
                                                                    </table>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </fieldset>
                                                </div>
                                            </div>
                                            <div class="box-right">
                                                <div class="entry-edit">
                                                    <div class="entry-edit-head">
                                                        <h4 class="icon-head fieldset-legend head-billing-address">短信内容</h4>
                                                    </div>
                                                    <fieldset class="np">
                                                        <div class="order-address" id="">
                                                            <div class="content">
                                                                <div class="hor-scroll">
                                                                    <table class="form-list" cellspacing="0">
                                                                        <tbody>


                                                                            <tr>

                                                                                <td class="value" colspan="2">
                                                                                    <div class="notice">提示：短信内容不能包含“【”,“】”符号</div>
                                                                                </td>
                                                                            </tr>

                                                                            <tr>

                                                                                <td class="value" colspan="2" valign="top" style="vertical-align: top;">
                                                                                    <epc:TextBox runat="server" ID="tbspecial" Width="190px" MaxLength="128" TextMode="MultiLine" class="required-entry input-text"></epc:TextBox>
                                                                                    ，回复T退订
                                                                                </td>
                                                                            </tr>

                                                                            <tr>
                                                                                <td class="left_td">
                                                                                    <label for="_accountprefix"></label>
                                                                                </td>
                                                                                <td class="value">



                                                                                    <asp:Button ID="btSave" runat="server" CssClass="button_1" Text="发送" OnClick="btSave_Click1"
                                                                                        OnClientClick="showload_super();"></asp:Button>

                                                                                </td>
                                                                            </tr>





                                                                        </tbody>
                                                                    </table>
                                                                </div>
                                                            </div>

                                                        </div>
                                                    </fieldset>
                                                </div>
                                            </div>

                                        </div>
                                    </div>
                                    <!--end-->
                                    </div>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </div>
                    </div>
                </div>
            </div>
            <!--foot start-->
            <uc2:Foot runat="server" ID="FootUC" />
        </div>

    </form>
</body>
</html>
